<?php
/**
 * Talents come from diligence, and knowledge is gained by accumulation.
 *
 * @author: 晋<657306123@qq.com>
 * @date: 2019/8/5 14:14
 */

namespace xin\articlecollect;

/**
 * 基础类
 *
 * @package xin\articlecollect
 */
abstract class AbsArticleCollect implements ArticleCollectInterface{

	/**
	 * 配置信息
	 *
	 * @var array
	 */
	protected $config = [];

	/**
	 * AbsArticleCollect constructor.
	 *
	 * @param array $config
	 */
	public function __construct(array $config){ $this->config = $config; }

	/**
	 * 获取配置
	 *
	 * @return array
	 */
	public function getConfig(){
		return $this->config;
	}

}
